package com.atguigu.jxc.service;

import com.atguigu.jxc.domain.ServiceVO;
import com.atguigu.jxc.entity.OverflowList;
import com.atguigu.jxc.entity.OverflowListGoods;

import java.util.List;

public interface OverflowListGoodsService {

    /**
     * 保存报溢单，报溢商品
     * @param overflowList
     * @param overflowListGoodsStr
     * @return
     */
    ServiceVO save(OverflowList overflowList, String overflowListGoodsStr);

    /**
     * 查询报溢单
     * @param sTime
     * @param eTime
     * @return
     */
    List<OverflowList> list(String sTime, String eTime);

    /**
     * 查询报溢商品
     * @param overflowListId
     * @return
     */
    List<OverflowListGoods> goodsList(Integer overflowListId);
}
